<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of index
 *
 * @author Nailton
 */
if (isset($success)) {
    echo "<p>{$success}</p>";
}
?>

<fieldset>
    <legend>Login</legend>
    <table class="table">
        <form action="<?php echo $this->here; ?>/login/logar" name="FORMULARIO" method="POST">
            <input type="hidden" name="_method" value="POST" />
            <p class="umacoluna">
            <label for="email">Email:</label> 
                <input type="text" name="data[email]" id="cpf" size="60"/>
            <br style="clear: left;" />
            </p>
            <p class="umacoluna">
            <label for="senha">Senha:</label> 
                <input type="text" name="data[senha]" id="cpf" size="60"/>
            <br style="clear: left;" />
            </p>
            <p class ="botoes umacoluna">
            <input type="submit" value="Login" />
            <input type="reset" value="Cancelar" />
            <br style="clear: left;" />
            </p>
        </form>
        <td><a href="<?php echo $this->here. "/login/logoff/"?>">Logoff</a></td>
    </table>
</fieldset>

